<template>
  <div id="app">
    <header id="header_my">
      <router-link class="link_a" to="/wangEditor">wang editor</router-link>
      <router-link class="link_a" to="/myeditor">my editor</router-link>
    </header>
    <keep-alive include="wangEditor">
      <router-view/>
    </keep-alive>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style>
*{
  padding: 0;
  margin: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}
#header_my{
  height: 60px;
  background: #2c3e50;
  padding: 0 200px;
}
.link_a{
  display: block;
  float: left;
  width: 120px;
  height: 60px;
  line-height: 60px;
  color: white;

}
.router-link-active{
  color: cornflowerblue;
}
</style>
